import request from '@/utils/request'
export default {
  getAclListPage(current, limit, assetQuery) {
    return request({
        url: `/admin/acl/role/${current}/${limit}`,
        method: 'post',
        data: assetQuery
    })
},

  setRoleByUserId(userId, role) {
    return request({
      url: `/admin/acl/role/${userId}/${role}`,
      method: 'get'
    })
  }
}

